
class Test_assert:
    @classmethod
    def test_as(cls,req_login,status_code,status,msg):
        assert status_code == req_login.status_code
        assert status == req_login.json().get('status')
        assert msg == req_login.json().get("msg")